package com.wxq.dbtest;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@EnableMongoRepositories
@SpringBootApplication
@EnableElasticsearchRepositories(basePackages = {"com.wxq.dbtest.elaticsearch.dao"})
@MapperScan({"com.wxq.dbtest.mysql.mapper","com.wxq.dbtest.clickhouse.mapper"})
public class DbtestApplication {

    public static void main(String[] args) {
        SpringApplication.run(DbtestApplication.class, args);
    }

}
